package com.atguigu.tingshu.album.client;

import com.atguigu.tingshu.model.album.TrackInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "service-album", path = "/client/track/trackInfo")
public interface TrackClientFeign {

    /**
     * 获取声音详情
     * @param itemId
     * @return
     */
    @GetMapping("/getTrackInfoDetail/{itemId}")
    public TrackInfo getTrackInfoDetail(Long itemId);

}
